package com.note.domain;

import com.note.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.note.common.annotation.Excel;

/**
 * 【请填写功能名称】对象 baiduyun_info
 * 
 * @author ruoyi
 * @date 2021-04-16
 */
@ApiModel("百度云信息")
public class BaiduyunInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** $column.columnComment */
    @ApiModelProperty(value = "资源名称")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String sourceName;

    /** $column.columnComment */
    @ApiModelProperty(value = "资源链接")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String sourceUrl;

    /** 比如 前端，vue，入门教程 */
    @ApiModelProperty(value = "比如 前端，vue，入门教程")
    @Excel(name = "比如 前端，vue，入门教程")
    private String tags;

    /** 比如1:java 2：vue 3:c++ */
    @ApiModelProperty(value = "交易单元Id")
    @Excel(name = "比如1:java 2：vue 3:c++")
    private String classification;

    /** $column.columnComment */
    @ApiModelProperty(value = "传数字 比如1:java 2：vue 3:c++")
    @Excel(name = "比如1:java 2：vue 3:c++")
    private Long downNum;

    /** $column.columnComment */
    @ApiModelProperty(value = "啊里云密码")
    @Excel(name = "比如1:java 2：vue 3:c++")
    private String sourcePwd;

    /**
     * 封面路径
     */
    @ApiModelProperty(value = "封面路径")
    private String coverUrl;

    /**
     * 是否免费 0:不免费 1：免费
     */
    @ApiModelProperty(value = "是否免费 0:不免费 1：免费")
    private String free;

    /**
     * 资源描述
     */
    private String sourceDescribe;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSourceName(String sourceName) 
    {
        this.sourceName = sourceName;
    }

    public String getSourceName() 
    {
        return sourceName;
    }
    public void setSourceUrl(String sourceUrl) 
    {
        this.sourceUrl = sourceUrl;
    }

    public String getSourceUrl() 
    {
        return sourceUrl;
    }
    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }
    public void setClassification(String classification)
    {
        this.classification = classification;
    }

    public String getClassification()
    {
        return classification;
    }
    public void setDownNum(Long downNum) 
    {
        this.downNum = downNum;
    }

    public Long getDownNum() 
    {
        return downNum;
    }
    public void setSourcePwd(String sourcePwd) 
    {
        this.sourcePwd = sourcePwd;
    }

    public String getSourcePwd() 
    {
        return sourcePwd;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public String getSourceDescribe() {
        return sourceDescribe;
    }

    public void setSourceDescribe(String sourceDescribe) {
        this.sourceDescribe = sourceDescribe;
    }


    public String getFree() {
        return free;
    }

    public void setFree(String free) {
        this.free = free;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sourceName", getSourceName())
            .append("sourceUrl", getSourceUrl())
            .append("tags", getTags())
            .append("classification", getClassification())
            .append("downNum", getDownNum())
            .append("sourcePwd", getSourcePwd())
            .toString();
    }
}
